package org.zzz.entity.dto;

/**
 * @Author ZZF
 * @Time 2021/04/21 14:19
 */
public class RegisterDto {
    //用户名(学号/工号)
    private String username;
    //角色id
    private String roleId;
    //姓名
    private String name;
    //性别
    private String gender;

    public RegisterDto() {
    }

    public RegisterDto(String username, String roleId, String name, String gender) {
        this.username = username;
        this.roleId = roleId;
        this.name = name;
        this.gender = gender;

    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    @Override
    public String toString() {
        return "RegisterDto{" +
                "username='" + username + '\'' +
                ", roleId='" + roleId + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                '}';
    }
}
